package com.java2207.group1.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author HuiCL
 * @version 1.0
 * @date 2022/7/27 12:03
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ExpenditureBo {

    @ExcelProperty(value = "编号")
    private Integer id;
    @ExcelProperty(value = "支出人")
    private String payor;
    @ExcelProperty(value = "联系方式")
    private String contactPayor;
    @ExcelProperty(value = "资金用途")
    private String useOfAssets;
    @ExcelProperty(value = "支出金额")
    private Integer expenseAmount;

    @ExcelProperty(value = "日期")
    @DateTimeFormat("yyyy-MM-dd")
    private Date disbursementDate;
}
